package com.fsc.comadapoc1.presentation.panels
{
	import com.fsc.comadapoc1.domain.UserModel;
	import com.fsc.comadapoc1.events.PanelChangeEvent;
	
	import flash.events.EventDispatcher;
	
	import spark.events.IndexChangeEvent;
	
	[Event(name="changeState", type="events.PanelChangeEvent")]
	[ManagedEvents(names="changeState")]
	public class BlankPanelPM extends EventDispatcher
	{
	
		[Inject]
		[Bindable]
		public var userModel:UserModel;
		
		public function handleUserSelected(guid:String):void
		{
			
			userModel.guid = guid;
			dispatchEvent(new PanelChangeEvent(PanelChangeEvent.PORTFOLIOS_VIEW_STATE  ));
		}
	}
}